Objective.Description Property

Gets or sets a description of the objective.

Parent Type: Objective

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string Description

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to or if this is a SCORM 1.2 package.

ArgumentOutOfRangeException

Thrown if the string passed is longer than BaseSchemaInternal.AttemptObjectiveItem.MaxDescriptionLength

Remarks

In SCORM 2004, this corresponds to cmi.objectives.n.description.

In SCORM 1.2, this is invalid.

If the value has not been set before it is accessed, null is returned.